package com.ddtech.business.room.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ddtech.business.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @version v1.0
 * @ClassName:Room description：
 * @author:wei_zhang(xiao)
 * @date: 2024-11-15 14:45
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("vr_room")
@ApiModel(value="Room对象", description="训练任务房间")
public class Room extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "房间名称")
    private String roomName;

    @ApiModelProperty(value = "房主ip")
    private String roomUserIp;

    @ApiModelProperty(value = "任务ID")
    private String taskId;

    @ApiModelProperty(value = "分队名称")
    private String unitName;

    @ApiModelProperty(value = "场景名称")
    private String sceneName;

    @ApiModelProperty(value = "参战人数")
    private Integer participantPopulation;

    @ApiModelProperty(value = "创建人")
    private String createUserName;

    @ApiModelProperty(value = "创建人ID")
    private String createUserId;

    @ApiModelProperty(value = "房间状态")
    private Integer status;//0未开始等待中，1已开始进行中

    @ApiModelProperty(value = "房间信息")
    private String roomInfo;

}

